{% extends "base.html" %}

{% block content %}
<h2>修改学生</h2>
<!--{{ student }}-->
<form action="/change/{{ student.sid }}" method="post">
    <label for="name">姓名：</label>
    <input type="text" id="name" name="name" value="{{ student.name }}" placeholder="请输入学生姓名" required>
    <label for="age">年龄：</label>
    <input type="text" id="age" name="age" value="{{ student.age }}" placeholder="请输入学生年龄" required>
    <label for="gender">性别：</label>
    <input type="text" id="gender" name="gender" value="{{ student.gender }}" placeholder="请输入学生性别" required>
    <input type="reset" value="清空">
    <input type="submit" value="提交">
</form>
{% endblock %}